package com.gitee.fdc.es.demo;

import java.io.Serializable;
import lombok.Data;
import java.util.Date;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * 单样例表 demo_single_table
 *
 * @author Mr.fdc
 * @date 2019-05-20T08:56:53.535+08:00
 */
@Data
@Document(indexName = "demo_single_table", type = "doc")
public class DemoSingleTable implements Serializable {

    private static final long serialVersionUID = 644911947176007629L;

    @org.springframework.data.annotation.Id
    private Long id;

    /**
     * 整形字段
     */
    private Integer intField;

    /**
     * 字符串字段
     */
    private String varcharField;
    /**
     * 日期字段
     */
    private Date dateField;

    /**
     * 下拉字典字段
     */
    private String selectDictField;
    private String multiSelectField;

    /**
     * REDIO字典字段
     */
    private String redioDictField;

//    @DeleteLogic
//    protected Integer delFlag = 0;
}
